package builder;

/**
 * 抽象基类 它定义了构建过程中的方法
 *
 * @author ycc
 * @date 2024/4/1
 */
public abstract class Builder {
    protected Product product = new Product();

    public abstract void buildPartA();
    public abstract void buildPartB();
    public abstract void buildPartC();

    public Product getResult() {
        return product;
    }
}
